home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000338_fdc@columbia.edu_Thu Oct 23 12:45:19 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 22 Oct 2003 21:32:34 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310221148.69ac828a@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066858354 14696 128.59.59.56 (22 Oct 2003 21:32:34 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Oct 2003 21:32:34 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14591
In article <cf6cc183.0310221148.69ac828a@posting.google.com>, icurmt wrote:
: Thanks for your inputs.
:
: What looks like is that DTR pin is turned high during set line call
: and is turned low during hangup.
:
That's how it's supposed to work.
: If, I can keep the DTR pin low during the communication then it would
: solve my problem. Please let me know if there's a higher level call I
: can make through script to keep it on.
:
Again, device drivers handle modem signals. In general, there is no API
for turning on and off individual modem signals, but some OS's do have this.
However, it is rarely necessary. The functions of modem signals are clearly
defined in the standards and if you have the appropriate cables -- i.e.
ones that connect the right output pin on one end to the right input pin on
the other end, everything just works.
: Also read somewhere that setting speed to 0 and then turning it to
: non-zero would flip the DTR pin as well.
:
It depends on the operating system. Every OS has a different API for
"hanging up" by turning DTR off, pausing, and then turning it on. Kermit
does this for you without requiring you to know the details if you give
a HANGUP command on a serial-port or modem connection.
- Frank